package com.linq.cool.tree.annotation;

import com.linq.cool.tree.enums.FieldType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: yqlin
 * @Date: 2020/11/26 10:27
 * @Description:
 * @Version: 1.0.0
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TreeField {
    /**
     * 所属类型
     * 三种: ID,PID,CHILD
     *
     * @return
     */
    FieldType fieldType();
}
